//
//  Tool.h
//  智慧小区
//
//  Created by lab603 on 15/6/29.
//  Copyright (c) 2015年 Dreamsoul. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD+MJ.h"
@interface Tool : NSObject
/**
 *  设置cookie
 */
+ (void)setCookieWithKey:(NSString*)key Value:(NSString*)value;
/**
 *  获取Cookie
 */
+ (NSArray *)getCookie;
/**
 *  删除Cookie
 */
+ (void)deleteCookie;
/**
 *  自定义MBProgressHUD(显示消息)
 */
+ (MBProgressHUD*)HUDShowMessage:(NSString*)msg addedToView:(UIView*)view;
+ (void)HUDShowMessage:(NSString*)msg;
/**
 *  自定义MBProgressHUD(显示进度)
 */
+ (MBProgressHUD*)HUDShowProgress:(NSString*)msg addedToView:(UIView*)view;
+ (void)HUDShowProgress:(NSString*)msg;
@end
